package com.cci.kangdao.fieldService.dto.response;

import com.cci.kangdao.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * @author William Du
 * @date 2020/3/4
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class GetOrderDetailResponse extends BaseEntity {

    private List<GetInvestigationResponse> investigationList;

    public List<GetInvestigationResponse> getInvestigationList() {
        return investigationList;
    }

    public void setInvestigationList(List<GetInvestigationResponse> investigationList) {
        this.investigationList = investigationList;
    }

    public static class GetInvestigationResponse {

        private Long id;

        private String title;

        private List<GetReportResultResponse> reportList;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<GetReportResultResponse> getReportList() {
            return reportList;
        }

        public void setReportList(List<GetReportResultResponse> reportList) {
            this.reportList = reportList;
        }
    }

    public static class GetReportResultResponse extends BaseEntity {

        private String reportTitle;

        List<GetParamResultResponse> paramResultList;

        public String getReportTitle() {
            return reportTitle;
        }

        public void setReportTitle(String reportTitle) {
            this.reportTitle = reportTitle;
        }

        public List<GetParamResultResponse> getParamResultList() {
            return paramResultList;
        }

        public void setParamResultList(List<GetParamResultResponse> paramResultList) {
            this.paramResultList = paramResultList;
        }
    }

    public static class GetParamResultResponse extends BaseEntity {

        private String name;

        private String value;

        private List<String> extraData;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public List<String> getExtraData() {
            return extraData;
        }

        public void setExtraData(List<String> extraData) {
            this.extraData = extraData;
        }
    }

}
